/*
 
  "I just pity the poor sods in the US who try to emulate this... =) (if you manage, i wanna see)"
  -Nihilist (tomgarnett@bigfoot.com), 11 Aug 2000

  Ha, I can't resist a dare like that! - Andy
		"Fly Once More" by Andy (and Nihilist)
*/ 



Durn="1.8",

CamX="120*sin( t * .3 ) + 40",
CamY=" 40 + 50 * sin( t / 6 )",
CamZ="60 + 40*sin(t/3)",

CmLX="-60+40*sin(t * .2 )",
CmLY="-30",
CmLZ="-10",

A0="6 / 13",
A1="1.9",
A2="A0",

// The t where the blue box ends
C2="sqwv( A1 * dt )",

// The t where the inner stars box ends
C3="sqwv( A1 * (dt+.05) )",

// The outer grid of "stars": 5 high, 6 wide 
D4="D3 * ( 1 - sqwv( 1.3 * cos( (s-.04) * 28 ) * cos( (dt- .14) * 38 ) ) )",

// The inner grid: 4 high, 5 wide.  D0 is the inner box mask
D0="C3 * ( 1 - sqwv( 1.3 * cos( (s-.04) * 28 + .5 * PI ) * cos( (dt- .15) * 38 + .7 * PI ) ) )",
D5="sqwv( s + A0 + .02 ) * C2 * clip( D0 + D4 )",

// White stripes
D1="sqwv( sin( s * 13 * PI ) + 1.01 )",

// Red stripes
D2="1 - D1",

// Stars box
D3="sqwv( s + A0 ) * C2",


R="clip( 1 - D3 + D5 )",
G="clip( clip( D1 - D3 ) + D5 )",
B="clip( clip( D3 + D1 ) + D5 )",

CUpX="0",
CUpY="-1",
CUpZ="0",


// Our white flagpole
LvlR="1",
LvlG="1",
LvlB="1",

widt=590,heig=350,

ConL=1,ConB=1,



// Don't make sound affect the "flagpole" (ie, then dt == 0)
C0="(1-flor(1-dt))* 12",


/* Make the flag wave back and forth (a little faster than "Union Jack" because wind tends to travel faster over much larger land masses...   :^P  just kidding, ha!   */
C1="12*dt",

X="(dt-.5)*220",
Y="(s-.5)*140",
Z="C0 * fft(s) +  c1 * sin(st * 5.5 - 3 * s)",

LWdt="1+4*flor(1-dt)",

Scal="500",
ScSz=1,

Pers="90",

Vers=40
